package com.mq.springcloud.service

import com.mq.springcloud.entity.CommonResult
import org.springframework.stereotype.Component

@Component
class PaymentFeignServiceImpl : PaymentFeignService {

    override fun getPaymentById(id: Long?): CommonResult<*> {

        return CommonResult(111, "失败了", null)
    }

    override fun paymentFeignTimeout(): String {
        return "失败了"
    }

    override fun paymentInfo_OK(id: Int?): String {
        return "失败了"
    }

    override fun paymentInfo_Timeout(id: Long?): String {
        return "失败了"
    }
}
